package com.zoe.app;

import com.zoe.app.entity.Minio;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author zoe.Zhang
 * @date 2022/06/27
 * @description
 */
@SpringBootApplication
public class MinioApp {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(MinioApp.class, args);
        Minio bean = run.getBean(Minio.class);
        System.out.println(bean.getAccessKey());
    }
}
